export default {
	methods: {
		data(){
			return {
					isLogin:false,
			}
		},
		isLogin(){
			let  Login = uni.getStorageSync('isLogin') 
			if(!Login){
				this.isLogin = false
			}else{
				this.isLogin = true
			}
		},
		isVip(){
			let isVip = uni.getStorageSync('isLogin')
			if(!isLogin){
				uni.showModal({
					title:'提示',
					content:"您未登录，请先登录"
				})
				uni.navigateTo({
					url:'../login/login'
				})
				return
			}
		}
	}
}